package yf.mall.dao;

import org.apache.ibatis.annotations.Param;
import yf.mall.entity.MaterialEntity;
import yf.mall.vo.MaterialVo;
import org.apache.ibatis.annotations.Mapper;
import com.yf.dao.BaseDao;
import java.util.List;
/**
 * 爆款素材Dao
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Sat Oct 17 14:55:42 CST 2020
 */
@Mapper
public interface MaterialDao extends BaseDao<MaterialEntity> {

    List<MaterialVo> findVo(MaterialVo vo);

    MaterialVo getVo(Long id);

    List<MaterialEntity> apiFindAll(@Param("shopId") Long shopId,@Param("goodsName")String goodsName);

    List<MaterialEntity> findByUserIdOrGoodsName(@Param("userId") Long userId,@Param("goodsName") String goodsName);


}
